package com.data
{
	[Bindable]
	public class Score
	{
		public static const MIN:int = -1;
		public static const MAX:int = -2;
		
		public var name:String;
		public var type:int;
		public var label:String;
		
		//public var minVal:Number;
		//public var maxVal:Number;
		
		
		public function Score(name:String, type:int, label:String)
		{
			this.name = name;
			this.type = type;
			this.label = label;
		}
		
		public function isMaximizing():Boolean
		{
			return (this.type == Score.MAX);
		}
	}
}